﻿@{
    Layout = "~/themes/bootstrap/Shared/_Layout.cshtml";
}
@using UcAsp.Net.Model;
@using UcAsp.Net.BLL;
@using UcAsp.Net.Comm
@{
    UcAsp.Net.Model.Categories cate = ViewData["Categories"] as UcAsp.Net.Model.Categories;
    ViewBag.Title = cate.CategorieName+cate.KeyWords;
 }
 @model List<UcAsp.Net.Model.ArticelsViews>
@foreach (UcAsp.Net.Model.ArticelsViews art in Model)
{ 
   <a href="/ShowMessage/@if (string.IsNullOrEmpty(art.ShowPath))
                         {@art.ID<text>.shtml</text>}
                         else
                         {@art.ShowPath<text>.shtml</text>}">
                            @(UcAsp.Net.Comm.Utils.ClearPart(art.Title, 20))<br />
                        </a>
}

@for (int i = 1; i < Convert.ToInt32(ViewData["PageCount"]); i++)
{ 
        <a href="/Categories/@cate.ShowPath@{<text>.shtml</text>}?i=@i">@i</a>
}